﻿using SuperX.Common.Log;
using System;
using System.Collections.Generic;
using System.Text;

namespace SuperX.DataService.Helper
{
    public class ErrorMessage
    {
        public const string NotSupportedDataType = "输入的类型不支持，请重新输入";

        public static bool IvokeErrorMessage(string deviceName, string address, string message = ErrorMessage.NotSupportedDataType)
        {
            Logger.Warn($"设备：{deviceName},地址：{address}，错误信息：{message}");
            return false;
        }
    }
}